package pers.qianyu.module.core.domain.logging.entity;

import pers.qianyu.module.core.comm.*;
import com.baomidou.mybatisplus.annotation.*;

/**
 * @author mizzle rain
 * @date 2020年11月21日11:21:58
 */
@TableName("lamb_request_log")
public class RequestLogPO extends BaseEntity {
    private static final long serialVersionUID = 4752759814181885791L;
    private String ip;
    private String address;
    private String url;
    private String userAgent;
    private String requestMethod;
    private String classMethod;
    private String requestParameters;
    private String result;
    private String exception;
    private Integer businessType;

    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }

    public String getClassMethod() {
        return classMethod;
    }

    public void setClassMethod(String classMethod) {
        this.classMethod = classMethod;
    }

    public String getRequestParameters() {
        return requestParameters;
    }

    public void setRequestParameters(String requestParameters) {
        this.requestParameters = requestParameters;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getException() {
        return exception;
    }

    public void setException(String exception) {
        this.exception = exception;
    }

    @Override
    public String toString() {
        return "RequestLogPO{" +
                "ip='" + ip + '\'' +
                ", address='" + address + '\'' +
                ", url='" + url + '\'' +
                ", userAgent='" + userAgent + '\'' +
                ", requestMethod='" + requestMethod + '\'' +
                ", classMethod='" + classMethod + '\'' +
                ", requestParameters='" + requestParameters + '\'' +
                ", result='" + result + '\'' +
                ", exception='" + exception + '\'' +
                ", businessType=" + businessType +
                ", id=" + getId() +
                ", createTime=" + getCreateTime() +
                ", updateTime=" + getUpdateTime() +
                ", createdBy=" + getCreatedBy() +
                ", updatedBy=" + getUpdatedBy() +
                ", deleted=" + getDeleted() +
                '}';
    }
}
